let dicDataShow = [
  {
    label: "否",
    value: false,
  },
   {
    label: "是",
    value: true,
  },
  
];
let dicDataModule = [
  {
    label: "图片",
    value: "img",
  },
  {
    label: "文章",
    value: "article",
  },
  {
    label: "视频",
    value: "video",
  },
  
];
export const tableOption = {
  dialogDrag: true,
  border: true,
  index: false,
  indexLabel: "序号",
  stripe: true,
  selection: true,
  menuAlign: "center",
  align: "center",
  editBtn: true,
  delBtn: false,
  addBtn: true,
  viewBtn: true,
  searchShow: false,
  menuWidth: 150,
  menuType: "text",
  searchMenuSpan: 6,
  defaultSort: {
    prop: "subscribeTime",
    order: "descending",
  },
  column: [
    {
      label: "标题",
      prop: "title",
      width: 200,
      search: true,
      span: 24,
      overHidden:true
      
    },
    {
      label: "类型",
      prop: "module",
      width: 60,
      type: "radio",
      search: true,
      dicData: dicDataModule,
    },
    {
      label: "图片",
      prop: "imgUrl",
      type: "upload",
      width: 100,
      imgWidth: 50,
      listType: "picture-img",
      slot: true,
      formslot: true,
      span: 24,
    },
    {
      label: "视频",
      prop: "videoUrl",
      type: "upload",
      hide:true,
      formslot: true,
      span: 24,
    },
    {
      label: "摘要",
      prop: "summary",
      width: 200,
      overHidden:true
    },
    {
      label: "内容",
      type:"textarea",
      prop: "content",
      search: true,
      span: 24,
      overHidden:true
    },
    {
      label: "是否展示",
      prop: "enable",
      width: 80,
      type: "radio",
      search: true,
      dicData: dicDataShow,
    },
    // {
    //   label: "机构",
    //   prop: "org",
    //   search: true,
    // },

    // {
    //   label: "备注",
    //   type:"textarea",
    //   prop: "remark",
    //   search: true,
    //   width: 60,
    //   span: 24,
    // },
    
  ],
};

